package springboot.springbootdocker;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DockerController {

	Logger logger = LoggerFactory.getLogger(DockerController.class);
	
	@RequestMapping("/docker")
	public String test(){
		logger.info("docker container is ready...");
		return "This is my frist docker";
	}
	

	@RequestMapping("/autoBuild")
	public String autoBuild(){
		
		return "自动构建 啊" ;
	}
	
}
